using System.Collections.Generic;
using System.Dynamic;
using UnityEngine;

public class List : MonoBehaviour
{
    public static List Instance { get; private set; }
    public LevelList levelList;
    public int levelListIndex;//索引
    public int index;//第几关索引

    private void Awake()
    {
        if (Instance == null)
        {
            Instance = this;
        }
        else
        {
            if (Instance != this)
            {
                Destroy(gameObject);
            }
        }
        DontDestroyOnLoad(gameObject);
    }
}